export interface AllData {
    code: number
    ok: string
    message: string
}

export interface Role {
    id?: number
    createTime?: string
    updateTime?: string
    roleName: string
    remark?: null
}

export interface RoleData {
    records: Role[]
    total: number
    size: number
    pages: number
}

export interface ReturnRoles extends AllData {
    data: RoleData
}

export interface ReturnQx extends AllData {
    data: Qx[]
}

export interface Qx {
    children?: Qx[]
    code: null
    createTime: string
    id: number
    level: number
    name: string
    pid: number
    select: boolean
    status: null
    toCode: null
    type: number
    updateTime: string
}
